package com.yxinsur.imc.business.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yxinsur.imc.business.domain.ImcBrokerPersistencyRate;
import com.yxinsur.imc.business.form.BrokerPersistencyRateCalculateForm;
import com.yxinsur.imc.business.form.BrokerPersistencyRateForm;
import com.yxinsur.imc.business.vo.BrokerPersistencyRateVo;

/**
 * 代理人继续率
Service接口
 * 
 * @author imc
 * @date 2021-05-20
 */
public interface IImcBrokerPersistencyRateService  extends IService<ImcBrokerPersistencyRate>
{
    /**
     * 查询代理人继续率列表
     * @param brokerPersistencyRateForm 代理人继续率
     * @return 代理人继续率
     */
    public List<BrokerPersistencyRateVo> selectImcBrokerPersistencyRateList(BrokerPersistencyRateForm brokerPersistencyRateForm);
    /**
     *  计算代理人继续率
     * @param brokerPersistencyRateCalculateForm 代理人继续率
     * @return 结果
     */
    public int calculate(BrokerPersistencyRateCalculateForm brokerPersistencyRateCalculateForm);

    /**
     * 修改代理人继续率
     * @param imcBrokerPersistencyRate 代理人继续率
     * @return 结果
     */
    public int updateImcBrokerPersistencyRate(ImcBrokerPersistencyRate imcBrokerPersistencyRate);
    /**
     * 批量删除代理人继续率
     * @param ids 需要删除的代理人继续率
     * @return 结果
     */
    public int deleteImcBrokerPersistencyRateByIds(String[] ids);
}
